<?php 
namespace Home\Model;
use Think\Model\ViewModel;
class CommentModel extends ViewModel {
	public $viewFields = array(
		'comment'=>array('id','content','wid','time','_type'=>'LEFT','wid'),
		'userinfo'=>array('username','face50','uid'=>'userid','_on'=>'userinfo.userid=comment.uid')
	);
}
 ?>
